<!doctype html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,maximum-scale=1">
	<meta http-equiv="Accept-CH" content="DPR, Width, Viewport-Width">
	<title>纯JavaScript炫酷鼠标滑过图片放大镜特效插件|DEMO4_jQuery之家-自由分享jQuery、html5、css3的插件库</title>
	<link rel="stylesheet" type="text/css" href="css/normalize.css" />
	<link rel="stylesheet" type="text/css" href="css/default.css">
	<link rel="stylesheet" media="screen, projection" href="dist/drift-basic.css">
	<style type="text/css">
      .wrapper{
      	width: 400px;
      	height: 400px;
      	margin:50px auto;
      }
    </style>
</head>
<body>
	<header class="htmleaf-header">
		<h1>纯JavaScript炫酷鼠标滑过图片放大镜特效插件 <span>Easily add "zoom on hover" functionality to your site's images</span></h1>
		<div class="htmleaf-links">
			<a class="htmleaf-icon icon-htmleaf-home-outline" href="http://www.htmleaf.com/" title="jQuery之家" target="_blank"><span> jQuery之家</span></a>
			<a class="htmleaf-icon icon-htmleaf-arrow-forward-outline" href="http://www.htmleaf.com/jQuery/Image-Effects/drift-luminous-javascript-zoom-on-hover.html" title="返回下载页" target="_blank"><span> 返回下载页</span></a>
		</div>
		<div class="htmleaf-demo center">
		  <a href="index.html">Luminous</a>
		  <a href="index3.html">Luminous+Drift</a>
		  <a href="index4.html" class="current">特殊效果</a>
		</div>
	</header>
	<section class="htmleaf-container">
		<div class="wrapper">
	      <img src="img/watch-outside.jpg" data-zoom="img/watch-inside.jpg">
	    </div>
	</section>
	<script src="dist/Drift.min.js"></script>
    <script>
      	new Drift(document.querySelector('img'), {
		    inlinePane: true,
		    containInline: true,
		    zoomFactor: 1
		});
    </script>
</body>
</html>